import Vue from 'vue';
import VueRouter from '../vuerouter';

Vue.use(VueRouter);

export const router = new VueRouter({
         base: '/',
         mode: 'hash',
         routes: [
           {
             name: 'home',
             path: '/',
             component: () =>
               import('../components/index.vue')
           },
           {
             name: 'about',
             path: '/about',
             component: () =>
               import('../components/about.vue')
           }
         ]
       });